﻿using System.Collections.Generic;
using System.Threading.Tasks;
using LiveChartsCore;
using LiveChartsCore.Defaults;
using LiveChartsCore.SkiaSharpView;
using Mvvm.Models;

namespace Mvvm.Services
{
    public interface IEmotionTrajectoryService
    {
        /// <summary>
        /// 根据聊天数据列表生成情感轨迹图表所需的数据，包括图表系列、X轴和Y轴配置。
        /// </summary>
        /// <param name="chatDataList">聊天数据列表</param>
        /// <returns>包含图表系列、X轴和Y轴配置的元组</returns>
        Task<(ISeries[] Series, Axis[] XAxes, Axis[] YAxes, ISeries[] EmotionPieSeries, ISeries[] EmotionTonePieSeries)> GenerateEmotionTrajectoryData(List<ChatData> chatDataList);
    }
}